//
//  PersonInterest.m
//  fGeekApp
//
//  Created by Administrator on 15/3/9.
//  Copyright (c) 2015年 cwx. All rights reserved.
//

#import "PersonInterest.h"

@implementation PersonInterest

-(PersonInterest *)initPersonInterestInstanceByDict:(NSDictionary *)dict{
    
    if (self = [super init]) {
        
        self.personInterestID = [[dict valueForKey:@"personInterest_id"] integerValue];
        self.goodsTypeID = [[dict valueForKey:@"type_id"] integerValue];
        self.userID = [[dict valueForKey:@"user_id"] integerValue];
        self.personInterestName = [dict valueForKey:@"personInterest_name"];
        self.goodsTypeName = [dict valueForKey:@"type_name"];
        
    }
    return self;
}

+(PersonInterest *)getPersonInterestInstanceByDict:(NSDictionary *)dict{
    return [[self alloc]initPersonInterestInstanceByDict:dict];
}


@end
